import { combineReducers } from 'redux'
import articleReducer from './article'
import homeReducer from './home'
import { loginReducer } from './login'
import profileReducer from './profile'
import searchReducer from './search'

// 合并reducer
export default combineReducers({
  // xx: xxReducer
  login: loginReducer,
  profile: profileReducer,
  home: homeReducer,
  search: searchReducer,
  article: articleReducer,
})
